home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / console / svgatext.3 / svgatext / SVGATextMode-1.3 / XFREE / common_hw / S3gendac.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-10-29  |  881 b   |  48 lines

  1. /* $XFree86: xc/programs/Xserver/hw/xfree86/common_hw/S3gendac.h,v 3.3 1995/01/20 04:21:21 dawes Exp $ */
  2. /* Jon Tombs <jon@esix2.us.es>  */
  3.  
  4.  
  5. #define GENDAC_INDEX         0x3C8
  6. #define GENDAC_DATA         0x3C9
  7. #define BASE_FREQ         14.31818   /* MHz */
  8.  
  9. int S3gendacSetClock( 
  10. #if NeedFunctionPrototypes
  11.    long freq, int clock
  12. #endif
  13. );     
  14.  
  15. int ET4000gendacSetClock( 
  16. #if NeedFunctionPrototypes
  17.    long freq, int clock
  18. #endif
  19. );     
  20.  
  21. int ET4000gendacSetpixmuxClock( 
  22. #if NeedFunctionPrototypes
  23.    long freq, int clock
  24. #endif
  25. );     
  26.  
  27. int ICS5342SetClock( 
  28. #if NeedFunctionPrototypes
  29.    long freq, int clock
  30. #endif
  31. );     
  32.  
  33. int S3TrioSetClock( 
  34. #if NeedFunctionPrototypes
  35.    long freq, int clock
  36. #endif
  37. );     
  38.  
  39. void commonCalcClock(
  40. #if NeedFunctionPrototypes
  41.    long freq,
  42.    int min_n2,
  43.    long freq_min, long freq_max,
  44.    unsigned char *mdiv, unsigned char *ndiv
  45. #endif
  46. );
  47.  
  48.